//
//  ActivityVC.h
//  Movie
//
//  Created by huazi on 15/11/4.
//  Copyright © 2015年 huazi. All rights reserved.
//

#import "BannerBJView.h"
#define kViewHight   40.0f
@implementation BannerBJView
- (instancetype)initWithFrame:(CGRect)frame {
    if (self =[super initWithFrame:frame]) {
        [self initSubviews];
    }
    return self;
}
- (void)initSubviews {
    self.backgroundColor =[UIColor clearColor];
    self.shadowView =[[UIImageView alloc] initWithFrame:self.bounds];
//    self.shadowView.image =[UIImage imageNamed:@"bannerShadowBJ"];
    self.shadowView.backgroundColor =[UIColor blackColor];
    self.shadowView.alpha =0.5;
    [self addSubview:self.shadowView];
    
    self.labelTitle =[[UILabel alloc] initWithFrame:CGRectMake(10, 0, DeviceWidth-120, kViewHight)];
    self.labelTitle.font =themeFont13;
    self.labelTitle.textColor =[UIColor colorWithHexString:kcolorWhite];
    [self addSubview:self.labelTitle];
    
    self.pageControl =[[UIPageControl alloc] initWithFrame:CGRectMake(DeviceWidth-100, 1.5, 100, 37.0)];
    self.pageControl.numberOfPages =3;
    self.pageControl.currentPage =0;
    [self addSubview:self.pageControl];
}
@end
